package edu.xidian.sei.mlcs

import com.carrotsearch.sizeof.RamUsageEstimator

object Test {
  def main(args: Array[String]): Unit = {
    val node = InNode(Location(new Array[Short](3)))
    node.level = 3
    node.predecessors += Location(new Array[Short](3))
    node.predecessors += Location(new Array[Short](3))
    val subgraph = new SubGraphMap
    subgraph.nodeFileWriter(node)

    val obj = subgraph.nodeFileReader(node.loc)
    println(obj.level)
    obj.predecessors.foreach(i => println(i))

  }
}